package ru.stepanovdn.trading.server.service.processor

import ru.stepanovdn.trading.server.entity.Candle
import ru.stepanovdn.trading.server.strategy.AInstrumentByFiatStrategy
import ru.stepanovdn.trading.server.strategy.AStrategy
import java.math.BigDecimal

internal interface ICalculatorService {
    fun isShouldBuy(strategy: AInstrumentByFiatStrategy, candle: Candle): Boolean

    fun isShouldSell(strategy: AInstrumentByFiatStrategy, candle: Candle, purchasePrice: BigDecimal): Boolean

    val strategyType: AStrategy.Type?
}
